[INFO] cloning repository https://github.com/HashWarlock/phat-contract-examples
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/HashWarlock/phat-contract-examples" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FHashWarlock%2Fphat-contract-examples", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FHashWarlock%2Fphat-contract-examples'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] f6f71263ee6b12f68c99b00bafdc021085a0dec8
[INFO] building HashWarlock/phat-contract-examples against master#a29f341a8ac4e9325a5e37027b4215f50a76d06f for pr-101929
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FHashWarlock%2Fphat-contract-examples" "/workspace/builds/worker-5/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-5/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/HashWarlock/phat-contract-examples on toolchain a29f341a8ac4e9325a5e37027b4215f50a76d06f
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a29f341a8ac4e9325a5e37027b4215f50a76d06f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] removed /workspace/builds/worker-5/source/rust-toolchain.toml
[INFO] started tweaking git repo https://github.com/HashWarlock/phat-contract-examples
[INFO] finished tweaking git repo https://github.com/HashWarlock/phat-contract-examples
[INFO] tweaked toml for git repo https://github.com/HashWarlock/phat-contract-examples written to /workspace/builds/worker-5/source/Cargo.toml
[INFO] crate git repo https://github.com/HashWarlock/phat-contract-examples already has a lockfile, it will not be regenerated
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a29f341a8ac4e9325a5e37027b4215f50a76d06f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating git repository `https://github.com/paritytech/substrate.git`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded scale-info-derive v2.1.2
[INFO] [stderr]   Downloaded ink_storage v3.3.1
[INFO] [stderr]   Downloaded ink_lang v3.3.1
[INFO] [stderr]   Downloaded ink_lang_codegen v3.3.1
[INFO] [stderr]   Downloaded ink_env v3.3.1
[INFO] [stderr]   Downloaded sp-externalities v0.12.0
[INFO] [stderr]   Downloaded sp-debug-derive v4.0.0
[INFO] [stderr]   Downloaded sp-storage v6.0.0
[INFO] [stderr]   Downloaded ink_primitives v3.3.1
[INFO] [stderr]   Downloaded sp-core v6.0.0
[INFO] [stderr]   Downloaded pest v2.3.0
[INFO] [stderr]   Downloaded reqwest-env-proxy v0.1.0
[INFO] [stderr]   Downloaded sp-tracing v5.0.0
[INFO] [stderr]   Downloaded cargo_metadata v0.13.1
[INFO] [stderr]   Downloaded sp-std v4.0.0
[INFO] [stderr]   Downloaded sp-runtime-interface v6.0.0
[INFO] [stderr]   Downloaded unzip3 v1.0.0
[INFO] [stderr]   Downloaded ink_prelude v3.3.1
[INFO] [stderr]   Downloaded ink_allocator v3.3.1
[INFO] [stderr]   Downloaded ink_metadata v3.3.1
[INFO] [stderr]   Downloaded pink-extension-runtime v0.1.3
[INFO] [stderr]   Downloaded ink_lang_ir v3.3.1
[INFO] [stderr]   Downloaded ink_lang_macro v3.3.1
[INFO] [stderr]   Downloaded scale-info v2.1.2
[INFO] [stderr]   Downloaded pink-extension-macro v0.1.5
[INFO] [stderr]   Downloaded ink_engine v3.3.1
[INFO] [stderr]   Downloaded ink_storage_derive v3.3.1
[INFO] [stderr]   Downloaded ss58-registry v1.29.0
[INFO] [stderr]   Downloaded sp-runtime-interface-proc-macro v5.0.0
[INFO] [stderr]   Downloaded sp-wasm-interface v6.0.0
[INFO] [stderr]   Downloaded sp-core-hashing v4.0.0
[INFO] [stderr]   Downloaded pink-extension v0.1.17
[INFO] [stderr]   Downloaded pink-utils v0.1.0
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e92e462e59ac3446a933540fd361ddeb5362c86f92d432d6a560a917a465022e" "/opt/rustwide/cargo-home/bin/cargo" "+a29f341a8ac4e9325a5e37027b4215f50a76d06f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 2eb8a5369d91a2323ef7b5528c1b6db8c1c5a9899205d1b245fe0c17133751cd
[INFO] running `Command { std: "docker" "start" "-a" "2eb8a5369d91a2323ef7b5528c1b6db8c1c5a9899205d1b245fe0c17133751cd", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "2eb8a5369d91a2323ef7b5528c1b6db8c1c5a9899205d1b245fe0c17133751cd", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "2eb8a5369d91a2323ef7b5528c1b6db8c1c5a9899205d1b245fe0c17133751cd", kill_on_drop: false }`
[INFO] [stdout] 2eb8a5369d91a2323ef7b5528c1b6db8c1c5a9899205d1b245fe0c17133751cd
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e92e462e59ac3446a933540fd361ddeb5362c86f92d432d6a560a917a465022e" "/opt/rustwide/cargo-home/bin/cargo" "+a29f341a8ac4e9325a5e37027b4215f50a76d06f" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 9123bc48010ee32c8f94d34b45b2a5a867cae3ce6eac0caf828b80071418aa79
[INFO] running `Command { std: "docker" "start" "-a" "9123bc48010ee32c8f94d34b45b2a5a867cae3ce6eac0caf828b80071418aa79", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.43
[INFO] [stderr]    Compiling unicode-ident v1.0.3
[INFO] [stderr]    Compiling quote v1.0.21
[INFO] [stderr]    Compiling syn v1.0.99
[INFO] [stderr]    Compiling serde_derive v1.0.144
[INFO] [stderr]    Compiling serde v1.0.144
[INFO] [stderr]    Compiling version_check v0.9.4
[INFO] [stderr]    Compiling typenum v1.15.0
[INFO] [stderr]    Compiling cfg-if v1.0.0
[INFO] [stderr]    Compiling subtle v2.4.1
[INFO] [stderr]    Compiling once_cell v1.14.0
[INFO] [stderr]    Compiling radium v0.7.0
[INFO] [stderr]    Compiling tap v1.0.1
[INFO] [stderr]    Compiling funty v2.0.0
[INFO] [stderr]    Compiling arrayvec v0.7.2
[INFO] [stderr]    Compiling byte-slice-cast v1.2.1
[INFO] [stderr]    Compiling wyz v0.5.0
[INFO] [stderr]    Compiling autocfg v1.1.0
[INFO] [stderr]    Compiling ppv-lite86 v0.2.16
[INFO] [stderr]    Compiling cc v1.0.73
[INFO] [stderr]    Compiling libc v0.2.132
[INFO] [stderr]    Compiling unicode-xid v0.2.3
[INFO] [stderr]    Compiling ink_prelude v3.3.1
[INFO] [stderr]    Compiling keccak v0.1.2
[INFO] [stderr]    Compiling cpufeatures v0.2.5
[INFO] [stderr]    Compiling either v1.8.0
[INFO] [stderr]    Compiling static_assertions v1.1.0
[INFO] [stderr]    Compiling ink_allocator v3.3.1
[INFO] [stderr]    Compiling paste v1.0.9
[INFO] [stderr]    Compiling ryu v1.0.11
[INFO] [stderr]    Compiling serde_json v1.0.85
[INFO] [stderr]    Compiling arrayref v0.3.6
[INFO] [stderr]    Compiling generic-array v0.14.6
[INFO] [stderr]    Compiling heck v0.4.0
[INFO] [stderr]    Compiling itertools v0.10.3
[INFO] [stderr]    Compiling itoa v1.0.3
[INFO] [stderr]    Compiling num-traits v0.2.15
[INFO] [stderr]    Compiling ucd-trie v0.1.5
[INFO] [stderr]    Compiling array-init v2.0.1
[INFO] [stderr]    Compiling camino v1.1.1
[INFO] [stderr]    Compiling opaque-debug v0.3.0
[INFO] [stderr]    Compiling unicode-segmentation v1.9.0
[INFO] [stderr]    Compiling semver v1.0.13
[INFO] [stderr]    Compiling bitvec v1.0.1
[INFO] [stderr]    Compiling unwrap v1.2.1
[INFO] [stderr]    Compiling lock_api v0.4.8
[INFO] [stderr]    Compiling scopeguard v1.1.0
[INFO] [stderr]    Compiling heck v0.3.3
[INFO] [stderr]    Compiling log v0.4.17
[INFO] [stderr]    Compiling byteorder v1.4.3
[INFO] [stderr]    Compiling Inflector v0.11.4
[INFO] [stderr]    Compiling getrandom v0.2.7
[INFO] [stderr]    Compiling fs2 v0.4.3
[INFO] [stderr]    Compiling unzip3 v1.0.0
[INFO] [stderr]    Compiling rand_core v0.6.3
[INFO] [stderr]    Compiling rustc_version v0.4.0
[INFO] [stderr]    Compiling arrayvec v0.4.12
[INFO] [stderr]    Compiling spin v0.9.4
[INFO] [stderr]    Compiling hash32 v0.2.1
[INFO] [stderr]    Compiling stable_deref_trait v1.2.0
[INFO] [stderr]    Compiling rand_chacha v0.3.1
[INFO] [stderr]    Compiling nodrop v0.1.14
[INFO] [stderr]    Compiling constant_time_eq v0.1.5
[INFO] [stderr]    Compiling hex v0.4.3
[INFO] [stderr]    Compiling sp-std v4.0.0 (https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.27#8eff668a)
[INFO] [stderr]    Compiling base58 v0.2.0
[INFO] [stderr]    Compiling environmental v1.1.3 (/opt/rustwide/workdir/utils/environmental)
[INFO] [stderr]    Compiling secp256k1-sys v0.6.0
[INFO] [stderr]    Compiling heapless v0.7.16
[INFO] [stderr]    Compiling rand v0.8.5
[INFO] [stderr]    Compiling block-buffer v0.10.3
[INFO] [stderr]    Compiling crypto-common v0.1.6
[INFO] [stderr]    Compiling crypto-mac v0.8.0
[INFO] [stderr]    Compiling digest v0.9.0
[INFO] [stderr]    Compiling digest v0.10.3
[INFO] [stderr]    Compiling blake2 v0.9.2
[INFO] [stderr]    Compiling blake2-rfc v0.2.18
[INFO] [stderr]    Compiling blake2 v0.10.4
[INFO] [stderr]    Compiling sha2 v0.10.5
[INFO] [stderr]    Compiling sha3 v0.10.4
[INFO] [stderr]    Compiling twox-hash v1.6.3
[INFO] [stderr]    Compiling sp-core-hashing v4.0.0 (https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.27#8eff668a)
[INFO] [stderr]    Compiling synstructure v0.12.6
[INFO] [stderr]    Compiling ink_lang_ir v3.3.1
[INFO] [stderr]    Compiling secp256k1 v0.24.0
[INFO] [stderr]    Compiling thiserror-impl v1.0.34
[INFO] [stderr]    Compiling impl-trait-for-tuples v0.2.2
[INFO] [stderr]    Compiling derive_more v0.99.17
[INFO] [stderr]    Compiling ink_storage_derive v3.3.1
[INFO] [stderr]    Compiling thiserror v1.0.34
[INFO] [stderr]    Compiling pest v2.3.0
[INFO] [stderr]    Compiling semver-parser v0.10.2
[INFO] [stderr]    Compiling toml v0.5.9
[INFO] [stderr]    Compiling impl-serde v0.3.2
[INFO] [stderr]    Compiling cargo-platform v0.1.2
[INFO] [stderr]    Compiling semver v0.11.0
[INFO] [stderr]    Compiling serde-json-core v0.4.0
[INFO] [stderr]    Compiling proc-macro-crate v1.2.1
[INFO] [stderr]    Compiling cargo_metadata v0.13.1
[INFO] [stderr]    Compiling ss58-registry v1.29.0
[INFO] [stderr]    Compiling parity-scale-codec-derive v3.1.3
[INFO] [stderr]    Compiling scale-info-derive v2.1.2
[INFO] [stderr]    Compiling openbrush_lang_codegen v2.1.0 (/opt/rustwide/workdir/vendor/openbrush-contracts/lang/codegen)
[INFO] [stderr]    Compiling openbrush_lang_macro v2.1.0 (/opt/rustwide/workdir/vendor/openbrush-contracts/lang/macro)
[INFO] [stderr]    Compiling parity-scale-codec v3.1.5
[INFO] [stderr]    Compiling scale-info v2.1.2
[INFO] [stderr]    Compiling ink_lang_codegen v3.3.1
[INFO] [stderr]    Compiling ink_engine v3.3.1
[INFO] [stderr]    Compiling ink_primitives v3.3.1
[INFO] [stderr]    Compiling ink_metadata v3.3.1
[INFO] [stderr]    Compiling ink_env v3.3.1
[INFO] [stderr]    Compiling ink_storage v3.3.1
[INFO] [stderr]    Compiling ink_lang_macro v3.3.1
[INFO] [stderr]    Compiling ink_lang v3.3.1
[INFO] [stderr]    Compiling pink-extension-macro v0.1.5
[INFO] [stderr]    Compiling openbrush_lang v2.1.0 (/opt/rustwide/workdir/vendor/openbrush-contracts/lang)
[INFO] [stderr]    Compiling openbrush_contracts_derive v2.1.0 (/opt/rustwide/workdir/vendor/openbrush-contracts/contracts/derive)
[INFO] [stderr]    Compiling openbrush_contracts v2.1.0 (/opt/rustwide/workdir/vendor/openbrush-contracts/contracts)
[INFO] [stderr]    Compiling pink-extension v0.1.17
[INFO] [stderr]    Compiling pink-utils v0.1.0
[INFO] [stderr]    Compiling openbrush v2.1.0 (/opt/rustwide/workdir/vendor/openbrush-contracts)
[INFO] [stderr]    Compiling phat_rpc v0.1.0 (/opt/rustwide/workdir/examples/phat-rpc)
[INFO] [stdout] warning: unused import: `serde_json_core::from_slice`
[INFO] [stdout]   --> examples/phat-rpc/lib.rs:65:9
[INFO] [stdout]    |
[INFO] [stdout] 65 |     use serde_json_core::from_slice;
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `sp_core_hashing::blake2_256`
[INFO] [stdout]   --> examples/phat-rpc/lib.rs:66:9
[INFO] [stdout]    |
[INFO] [stdout] 66 |     use sp_core_hashing::blake2_256;
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0158]: associated consts cannot be referenced in patterns
[INFO] [stdout]   --> examples/phat-rpc/lib.rs:70:5
[INFO] [stdout]    |
[INFO] [stdout] 70 | /     #[derive(SpreadAllocate)]
[INFO] [stdout] 71 | |     #[cfg_attr(feature = "std", derive(scale_info::TypeInfo))]
[INFO] [stdout] 72 | |     pub struct PhatRpc {
[INFO] [stdout] 73 | |         admin: AccountId,
[INFO] [stdout] ...  |
[INFO] [stdout] 81 | |         is_api_key_set: bool,
[INFO] [stdout] 82 | |     }
[INFO] [stdout]    | |_____^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `headers`
[INFO] [stdout]    --> examples/phat-rpc/lib.rs:698:13
[INFO] [stdout]     |
[INFO] [stdout] 698 |         let headers: Vec<(String, String)> = vec![
[INFO] [stdout]     |             ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_headers`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to previous error; 3 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0158`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `phat_rpc` due to 2 previous errors; 3 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "9123bc48010ee32c8f94d34b45b2a5a867cae3ce6eac0caf828b80071418aa79", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "9123bc48010ee32c8f94d34b45b2a5a867cae3ce6eac0caf828b80071418aa79", kill_on_drop: false }`
[INFO] [stdout] 9123bc48010ee32c8f94d34b45b2a5a867cae3ce6eac0caf828b80071418aa79
